package com.esyoga.yoyoga.pojo.DTO;

import com.esyoga.yoyoga.pojo.TTrainerAgreement;

import java.math.BigDecimal;

public class TrainerAgreementDTO {
    private Integer taId;

    private String tName;

    private Integer taTId;

    private Integer taGId;

    private Double taGymratio;

    private Integer taState;

    private String taCreatetime;

    private String taUpdatetime;

    public TrainerAgreementDTO() {
    }

    public TrainerAgreementDTO(String tName,TTrainerAgreement tTrainerAgreement) {
        this.tName = tName;
        this.taId=tTrainerAgreement.getTaId();
        this.taTId=tTrainerAgreement.getTaTId();
        this.taGId=tTrainerAgreement.getTaGId();
        this.taGymratio=tTrainerAgreement.getTaGymratio();
        this.taState=tTrainerAgreement.getTaState();
        this.taCreatetime=tTrainerAgreement.getTaCreatetime();
        this.taUpdatetime=tTrainerAgreement.getTaUpdatetime();
    }

    public Integer getTaId() {
        return taId;
    }

    public void setTaId(Integer taId) {
        this.taId = taId;
    }

    public String gettName() {
        return tName;
    }

    public void settName(String tName) {
        this.tName = tName;
    }

    public Integer getTaTId() {
        return taTId;
    }

    public void setTaTId(Integer taTId) {
        this.taTId = taTId;
    }

    public Integer getTaGId() {
        return taGId;
    }

    public void setTaGId(Integer taGId) {
        this.taGId = taGId;
    }

    public Double getTaGymratio() {
        return taGymratio;
    }

    public void setTaGymratio(Double taGymratio) {
        this.taGymratio = taGymratio;
    }

    public Integer getTaState() {
        return taState;
    }

    public void setTaState(Integer taState) {
        this.taState = taState;
    }

    public String getTaCreatetime() {
        return taCreatetime;
    }

    public void setTaCreatetime(String taCreatetime) {
        this.taCreatetime = taCreatetime;
    }

    public String getTaUpdatetime() {
        return taUpdatetime;
    }

    public void setTaUpdatetime(String taUpdatetime) {
        this.taUpdatetime = taUpdatetime;
    }
}
